@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.compact-form {
  .el-form-item {
    margin-bottom: 0 !important;
  }
}

em.highlight {
    background: #EFFF00;
    font-weight: 600;
    color: black;
}

.filter-container {
  .filter-container-right {
    float: right;
  }
}

.box-collapse {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
  border-radius: 4px;
  border: 1px solid #ebeef5;
  padding: 0 20px;
  .el-collapse-item__content {
    padding-bottom: 25px;
    padding-top: 25px;
  }
}

code {
  color: #5e6d82;
  background-color: #e6effb;
  margin: 0 4px;
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  height: 1.5em;
  line-height: 1.5em;
}

code.highlight {
  color: #c7254e;
  background-color: #f2f2f2;
}

// 单行文本溢出
.oneline-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-danger {
  color: #f56c6c;
}

.text-link,
.text-link:hover,
.text-link:visited {
  color: #409eff;
}
